#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int MOD = 1e9 + 7;

LL qpow(LL a, LL b, LL p)
{
	LL ans = 1;
	while(b)
	{
		if(b & 1) ans = ans * a % p;
		a = a * a % p;
		b >>= 1;
	}
	return ans;
}

int main()
{
	int n; cin >> n;
	LL ans = 1;
	for(int i = 1;i <= n;i ++)
		ans = ans * (4 * i - 2) % MOD * qpow(i + 1, MOD - 2 , MOD) % MOD;
	cout << ans << endl;
	return 0;
}